package com.wry.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Data;

/**
 *<h1> 库存表 <h1>
 *
 * @author 魏如元
 * @since 2022/10/14
 */
@Data
@TableName(value = "w_stock")
public class WStock implements Serializable {
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 商品名称
     */
    @TableField(value = "good_name")
    private String goodName;

    /**
     * 库存数量
     */
    @TableField(value = "num")
    private Integer num;

    private static final long serialVersionUID = 1L;
}